#ifndef __G_MESH_H__
#define __G_MESH_H__

#include "IResource.h"
#include "TextModel.h"

class Mesh//:public IResource
{
protected:
	char* m_filePath;
	char* m_fileName;
	char* m_fileConfig;
public:
	FWuint VBOCount;
	FWuint IBOCount;
	FWuint VBO;
	FWuint IBO;
protected:
	FWint LoadData(FWuint vcount, Vertex* vertices, FWuint icount, FWushort* indices);
public:
	Mesh();
	Mesh(char* path, char* file);
	~Mesh();

	FWint Init();
	void Destroy();
};

#endif